package outerclass.static_demo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 38917
 * Date: 2025/5/11
 * Time: 16:40
 */

public class OuterClass {
    public static String publicNumber = "outerPublicNumber";
    public static void outer2() {
        System.out.println("外部类");
    }
    public static class StaticInnerClass {
        public static String publicNumber1 = "innerPublicNumber";
        public void inner2() {
            System.out.println("静态内部类");
            System.out.println(publicNumber1);
            System.out.println(OuterClass.publicNumber);
            OuterClass.outer2();
        }
    }
}
